Skip to content

PDFContentExtractor.SearchText Method

Overloads

Name Description
SearchText(String) Searches the page content for the specified text.
SearchText(String,PDFTextSearchOptions) Searches the page content for the specified text.
SearchText(String,PDFTextSearchOptions,PDFContentExtractionContext) Searches the page content for the specified text.

SearchText(String)

Searches the page content for the specified text.

C#
public PDFTextSearchResultCollection SearchText(string text)

Parameters

text String

Text to find in page content.

SearchText(String,PDFTextSearchOptions)

Searches the page content for the specified text.

C#
public PDFTextSearchResultCollection SearchText(string text, PDFTextSearchOptions searchOptions)

Parameters

text String

Text to find in page content.

searchOptions PDFTextSearchOptions

A set of options that specify how the text search should be performed.

SearchText(String,PDFTextSearchOptions,PDFContentExtractionContext)

Searches the page content for the specified text.

C#
public PDFTextSearchResultCollection SearchText(string text, PDFTextSearchOptions searchOptions, PDFContentExtractionContext context)

Parameters

text String

Text to find in page content.

searchOptions PDFTextSearchOptions

A set of options that specify how the text search should be performed.

context PDFContentExtractionContext

Context for text extraction.